package com.xdf.data_transmitter.service;

import com.xdf.data_transmitter.dao.cloud.ClientPushlistMapper;
import com.xdf.data_transmitter.model.ClientPushlist;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ClientPushlistServiceImpl implements ClientPushlistService {
    @Autowired
    private ClientPushlistMapper dao;
    @Override
    public int deleteByPrimaryKey(Long id) {
        return dao.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(ClientPushlist record) {
        return dao.insert(record);
    }

    @Override
    public int insertSelective(ClientPushlist record) {
        return dao.insertSelective(record);
    }

    @Override
    public ClientPushlist selectByPrimaryKey(Long id) {
        return dao.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(ClientPushlist record) {
        return dao.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(ClientPushlist record) {
        return dao.updateByPrimaryKey(record);
    }
}
